# encoding: UTF-8
<%= form_for @painting, :html => {:multipart => true} do |f| %>
  <%= f.error_messages %>
  <%= f.hidden_field :gallery_id %>
  <p>
    <%= f.label :name, "Nombre" %><br />
    <%= f.text_field :name %>
  </p>
  <p>
    <%= f.file_field :image %>
  </p>
  <p>
    <%= f.label :remote_image_url, "o URL de la Imagen" %><br />
    <%= f.text_field :remote_image_url %>
  </p>
  <p><%= f.submit "Actualizar Imagen"%></p>
<% end %>
